package com.jiyun.api;

import com.jiyun.pojo.entity.User;
import com.jiyun.pojo.vo.UserVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("user")
public interface UserApi {

    @RequestMapping("query")
    public User queryUser(@RequestBody User user);
    @RequestMapping("queryPhone")
    User queryPhone(@RequestBody UserVo userVo);
}
